package com.eastcom.client;


public class TreeNode{

    private String id;
    private String text;
    private boolean leaf;
    private String cls = "";
    private String iconCls = "";
    private boolean expanded;
    private String icon;
    private boolean disabled;
    
    private Object object;
    private String style;
    private String qtip ="";
    private String type;
    private String desc;
	private String businessId;
	private String relatedKpis;
    

    public String getQtip() {
		return qtip;
	}

	public void setQtip(String qtip) {
		this.qtip = qtip;
	}

	public TreeNode() {
    }

    public String getId() {
        return id;
    }

    public boolean getLeaf() {
        return leaf;
    }

    public String getText() {
        return text;
    }

    public String getCls() {
        return cls;
    }

    public void setCls(String cls) {
        this.cls = cls;
    }

    public void setId(String id) {
        this.id = id;
    }

    public void setLeaf(boolean leaf) {
        this.leaf = leaf;
        this.cls = leaf ? "file" : "folder";
    }

    public void setText(String text) {
        this.text = text;
    }

    public String getIconCls() {
        return iconCls;
    }

    public void setIconCls(String iconCls) {
        this.iconCls = iconCls;
    }

    public boolean isExpanded() {
        return expanded;
    }

    public void setExpanded(boolean expanded) {
        this.expanded = expanded;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

	public String getStyle() {
		return style;
	}

	public void setStyle(String style) {
		this.style = style;
	}

	public boolean isDisabled() {
		return disabled;
	}

	public void setDisabled(boolean disabled) {
		this.disabled = disabled;
	}


	public Object getObject() {
		return object;
	}

	public void setObject(Object object) {
		this.object = object;
	}

	public String getDesc() {
		return desc;
	}

	public void setDesc(String desc) {
		this.desc = desc;
	}

	public String getBusinessId() {
		return businessId;
	}

	public void setBusinessId(String businessId) {
		this.businessId = businessId;
	}


	public String getRelatedKpis() {
		return relatedKpis;
	}

	public void setRelatedKpis(String relatedKpis) {
		this.relatedKpis = relatedKpis;
	}
}
